package org.sgs.reddit.bot.json;

import java.util.Collection;

import org.codehaus.jackson.annotate.JsonIgnore;


public class RedditListing {

  private String kind;
  private ListingData data;


  public RedditListing() {
    //
  }


  public String getKind() {
    return kind;
  }


  public void setKind(String kind) {
    this.kind = kind;
  }


  public ListingData getData() {
    return data;
  }


  public void setData(ListingData data) {
    this.data = data;
  }

}



class ListingData {

  private String modhash;
  private Collection<ListingLink> children;
  private String after;
  private String before;


  public ListingData() {
    //
  }


  public String getModhash() {
    return modhash;
  }


  public void setModhash(String modhash) {
    this.modhash = modhash;
  }


  public Collection<ListingLink> getChildren() {
    return children;
  }


  public void setChildren(Collection<ListingLink> children) {
    this.children = children;
  }


  public String getAfter() {
    return after;
  }


  public void setAfter(String after) {
    this.after = after;
  }


  public String getBefore() {
    return before;
  }


  public void setBefore(String before) {
    this.before = before;
  }

}



class ListingLink {

  private String kind;
  private ListingChildData data;


  public ListingLink() {
    //
  }


  public String getKind() {
    return kind;
  }


  public void setKind(String kind) {
    this.kind = kind;
  }


  public ListingChildData getData() {
    return data;
  }


  public void setData(ListingChildData data) {
    this.data = data;
  }

}



class ListingChildData {

  private String domain;
  private String media_embed;
  private String levenshtein;
  private String subreddit;
  private String selftext_html;
  private String selftext;
  private String likes;
  private boolean saved;
  private String id;
  private boolean clicked;
  private String title;
  private String media;
  private int score;
  private boolean over_18;
  private boolean hidden;
  private String thumbnail;
  private String subreddit_id;
  private int author_flair_css_class;
  private int downs;
  private boolean is_self;
  private String permalink;
  private String name;
  private long created;
  private String url;
  private String author_flair_text;
  private String author;
  private long created_utc;
  private int num_comments;
  private int ups;


  public ListingChildData() {
    //
  }


  public String getDomain() {
    return domain;
  }


  public void setDomain(String domain) {
    this.domain = domain;
  }


  @JsonIgnore
  public String getMedia_embed() {
    return media_embed;
  }


  public void setMedia_embed(String media_embed) {
    this.media_embed = media_embed;
  }


  public String getLevenshtein() {
    return levenshtein;
  }


  public void setLevenshtein(String levenshtein) {
    this.levenshtein = levenshtein;
  }


  public String getSubreddit() {
    return subreddit;
  }


  public void setSubreddit(String subreddit) {
    this.subreddit = subreddit;
  }


  public String getSelftext_html() {
    return selftext_html;
  }


  public void setSelftext_html(String selftext_html) {
    this.selftext_html = selftext_html;
  }


  public String getSelftext() {
    return selftext;
  }


  public void setSelftext(String selftext) {
    this.selftext = selftext;
  }


  public String getLikes() {
    return likes;
  }


  public void setLikes(String likes) {
    this.likes = likes;
  }


  public boolean isSaved() {
    return saved;
  }


  public void setSaved(boolean saved) {
    this.saved = saved;
  }


  public String getId() {
    return id;
  }


  public void setId(String id) {
    this.id = id;
  }


  public boolean isClicked() {
    return clicked;
  }


  public void setClicked(boolean clicked) {
    this.clicked = clicked;
  }


  public String getTitle() {
    return title;
  }


  public void setTitle(String title) {
    this.title = title;
  }


  public String getMedia() {
    return media;
  }


  public void setMedia(String media) {
    this.media = media;
  }


  public int getScore() {
    return score;
  }


  public void setScore(int score) {
    this.score = score;
  }


  public boolean isOver_18() {
    return over_18;
  }


  public void setOver_18(boolean over_18) {
    this.over_18 = over_18;
  }


  public boolean isHidden() {
    return hidden;
  }


  public void setHidden(boolean hidden) {
    this.hidden = hidden;
  }


  public String getThumbnail() {
    return thumbnail;
  }


  public void setThumbnail(String thumbnail) {
    this.thumbnail = thumbnail;
  }


  public String getSubreddit_id() {
    return subreddit_id;
  }


  public void setSubreddit_id(String subreddit_id) {
    this.subreddit_id = subreddit_id;
  }


  public int getAuthor_flair_css_class() {
    return author_flair_css_class;
  }


  public void setAuthor_flair_css_class(int author_flair_css_class) {
    this.author_flair_css_class = author_flair_css_class;
  }


  public int getDowns() {
    return downs;
  }


  public void setDowns(int downs) {
    this.downs = downs;
  }


  public boolean isIs_self() {
    return is_self;
  }


  public void setIs_self(boolean is_self) {
    this.is_self = is_self;
  }


  public String getPermalink() {
    return permalink;
  }


  public void setPermalink(String permalink) {
    this.permalink = permalink;
  }


  public String getName() {
    return name;
  }


  public void setName(String name) {
    this.name = name;
  }


  public long getCreated() {
    return created;
  }


  public void setCreated(long created) {
    this.created = created;
  }


  public String getUrl() {
    return url;
  }


  public void setUrl(String url) {
    this.url = url;
  }


  public String getAuthor_flair_text() {
    return author_flair_text;
  }


  public void setAuthor_flair_text(String author_flair_text) {
    this.author_flair_text = author_flair_text;
  }


  public String getAuthor() {
    return author;
  }


  public void setAuthor(String author) {
    this.author = author;
  }


  public long getCreated_utc() {
    return created_utc;
  }


  public void setCreated_utc(long created_utc) {
    this.created_utc = created_utc;
  }


  public int getNum_comments() {
    return num_comments;
  }


  public void setNum_comments(int num_comments) {
    this.num_comments = num_comments;
  }


  public int getUps() {
    return ups;
  }


  public void setUps(int ups) {
    this.ups = ups;
  }

}